3.9.66 \(\int \frac {(a+b x+c x^2)^{3/2}}{(d+e x) (f+g x)} \, dx\) [866]

3.9.66.1 Optimal result
3.9.66.2 Mathematica [A] (verified)
3.9.66.3 Rubi [A] (verified)
3.9.66.4 Maple [A] (verified)
3.9.66.5 Fricas [F(-1)]
3.9.66.6 Sympy [F]
3.9.66.7 Maxima [F(-2)]
3.9.66.8 Giac [F(-2)]
3.9.66.9 Mupad [F(-1)]

3.9.66.1 Optimal result

Integrand size = 29, antiderivative size = 491 \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(d+e x) (f+g x)} \, dx=\frac {\left (c d^2-b d e+a e^2\right ) \sqrt {a+b x+c x^2}}{e^2 (e f-d g)}-\frac {\left (4 c e f^2-g (5 b e f-b d g-4 a e g)-2 c g (e f-d g) x\right ) \sqrt {a+b x+c x^2}}{4 e g^2 (e f-d g)}-\frac {(2 c d-b e) \left (c d^2-b d e+a e^2\right ) \text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{2 \sqrt {c} e^3 (e f-d g)}+\frac {\left (8 c^2 e f^3+b g^2 (3 b e f+b d g-4 a e g)-4 c g \left (3 b e f^2-a g (3 e f-d g)\right )\right ) \text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{8 \sqrt {c} e g^3 (e f-d g)}+\frac {\left (c d^2-b d e+a e^2\right )^{3/2} \text {arctanh}\left (\frac {b d-2 a e+(2 c d-b e) x}{2 \sqrt {c d^2-b d e+a e^2} \sqrt {a+b x+c x^2}}\right )}{e^3 (e f-d g)}-\frac {\left (c f^2-b f g+a g^2\right )^{3/2} \text {arctanh}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b f g+a g^2} \sqrt {a+b x+c x^2}}\right )}{g^3 (e f-d g)} \]

output
(a*e^2-b*d*e+c*d^2)^(3/2)*arctanh(1/2*(b*d-2*a*e+(-b*e+2*c*d)*x)/(a*e^2-b* 
d*e+c*d^2)^(1/2)/(c*x^2+b*x+a)^(1/2))/e^3/(-d*g+e*f)-(a*g^2-b*f*g+c*f^2)^( 
3/2)*arctanh(1/2*(b*f-2*a*g+(-b*g+2*c*f)*x)/(a*g^2-b*f*g+c*f^2)^(1/2)/(c*x 
^2+b*x+a)^(1/2))/g^3/(-d*g+e*f)-1/2*(-b*e+2*c*d)*(a*e^2-b*d*e+c*d^2)*arcta 
nh(1/2*(2*c*x+b)/c^(1/2)/(c*x^2+b*x+a)^(1/2))/e^3/(-d*g+e*f)/c^(1/2)+1/8*( 
8*c^2*e*f^3+b*g^2*(-4*a*e*g+b*d*g+3*b*e*f)-4*c*g*(3*b*e*f^2-a*g*(-d*g+3*e* 
f)))*arctanh(1/2*(2*c*x+b)/c^(1/2)/(c*x^2+b*x+a)^(1/2))/e/g^3/(-d*g+e*f)/c 
^(1/2)+(a*e^2-b*d*e+c*d^2)*(c*x^2+b*x+a)^(1/2)/e^2/(-d*g+e*f)-1/4*(4*c*e*f 
^2-g*(-4*a*e*g-b*d*g+5*b*e*f)-2*c*g*(-d*g+e*f)*x)*(c*x^2+b*x+a)^(1/2)/e/g^ 
2/(-d*g+e*f)
 
3.9.66.2 Mathematica [A] (verified)

Time = 10.72 (sec) , antiderivative size = 323, normalized size of antiderivative = 0.66 \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(d+e x) (f+g x)} \, dx=\frac {\frac {\left (3 b^2 e^2 g^2-12 c e g (b e f+b d g-a e g)+8 c^2 \left (e^2 f^2+d e f g+d^2 g^2\right )\right ) \text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+x (b+c x)}}\right )}{\sqrt {c}}+\frac {2 \left (e g (e f-d g) \sqrt {a+x (b+c x)} (5 b e g+c (-4 e f-4 d g+2 e g x))-4 \left (c d^2+e (-b d+a e)\right )^{3/2} g^3 \text {arctanh}\left (\frac {-b d+2 a e-2 c d x+b e x}{2 \sqrt {c d^2+e (-b d+a e)} \sqrt {a+x (b+c x)}}\right )+4 e^3 \left (c f^2+g (-b f+a g)\right )^{3/2} \text {arctanh}\left (\frac {-b f+2 a g-2 c f x+b g x}{2 \sqrt {c f^2+g (-b f+a g)} \sqrt {a+x (b+c x)}}\right )\right )}{e f-d g}}{8 e^3 g^3} \]

input
Integrate[(a + b*x + c*x^2)^(3/2)/((d + e*x)*(f + g*x)),x]
 
output
(((3*b^2*e^2*g^2 - 12*c*e*g*(b*e*f + b*d*g - a*e*g) + 8*c^2*(e^2*f^2 + d*e 
*f*g + d^2*g^2))*ArcTanh[(b + 2*c*x)/(2*Sqrt[c]*Sqrt[a + x*(b + c*x)])])/S 
qrt[c] + (2*(e*g*(e*f - d*g)*Sqrt[a + x*(b + c*x)]*(5*b*e*g + c*(-4*e*f - 
4*d*g + 2*e*g*x)) - 4*(c*d^2 + e*(-(b*d) + a*e))^(3/2)*g^3*ArcTanh[(-(b*d) 
 + 2*a*e - 2*c*d*x + b*e*x)/(2*Sqrt[c*d^2 + e*(-(b*d) + a*e)]*Sqrt[a + x*( 
b + c*x)])] + 4*e^3*(c*f^2 + g*(-(b*f) + a*g))^(3/2)*ArcTanh[(-(b*f) + 2*a 
*g - 2*c*f*x + b*g*x)/(2*Sqrt[c*f^2 + g*(-(b*f) + a*g)]*Sqrt[a + x*(b + c* 
x)])]))/(e*f - d*g))/(8*e^3*g^3)
 
3.9.66.3 Rubi [A] (verified)

Time = 1.08 (sec) , antiderivative size = 453, normalized size of antiderivative = 0.92, number of steps used = 10, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.310, Rules used = {1270, 1162, 1231, 27, 1269, 1092, 219, 1154, 219}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(d+e x) (f+g x)} \, dx\)

\(\Big \downarrow \) 1270

\(\displaystyle \frac {\left (a e^2-b d e+c d^2\right ) \int \frac {\sqrt {c x^2+b x+a}}{d+e x}dx}{e (e f-d g)}-\frac {\int \frac {(c d f-b e f+a e g-c (e f-d g) x) \sqrt {c x^2+b x+a}}{f+g x}dx}{e (e f-d g)}\)

\(\Big \downarrow \) 1162

\(\displaystyle \frac {\left (a e^2-b d e+c d^2\right ) \left (\frac {\sqrt {a+b x+c x^2}}{e}-\frac {\int \frac {b d-2 a e+(2 c d-b e) x}{(d+e x) \sqrt {c x^2+b x+a}}dx}{2 e}\right )}{e (e f-d g)}-\frac {\int \frac {(c d f-b e f+a e g-c (e f-d g) x) \sqrt {c x^2+b x+a}}{f+g x}dx}{e (e f-d g)}\)

\(\Big \downarrow \) 1231

\(\displaystyle \frac {\left (a e^2-b d e+c d^2\right ) \left (\frac {\sqrt {a+b x+c x^2}}{e}-\frac {\int \frac {b d-2 a e+(2 c d-b e) x}{(d+e x) \sqrt {c x^2+b x+a}}dx}{2 e}\right )}{e (e f-d g)}-\frac {\frac {\sqrt {a+b x+c x^2} \left (-g (-4 a e g-b d g+5 b e f)-2 c g x (e f-d g)+4 c e f^2\right )}{4 g^2}-\frac {\int -\frac {c \left (f g (5 e f-d g) b^2-4 e f \left (c f^2+3 a g^2\right ) b+4 a g \left (2 a e g^2+c f (e f+d g)\right )-\left (8 c^2 e f^3+b g^2 (3 b e f+b d g-4 a e g)-4 c g \left (3 b e f^2-a g (3 e f-d g)\right )\right ) x\right )}{2 (f+g x) \sqrt {c x^2+b x+a}}dx}{4 c g^2}}{e (e f-d g)}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {\left (a e^2-b d e+c d^2\right ) \left (\frac {\sqrt {a+b x+c x^2}}{e}-\frac {\int \frac {b d-2 a e+(2 c d-b e) x}{(d+e x) \sqrt {c x^2+b x+a}}dx}{2 e}\right )}{e (e f-d g)}-\frac {\frac {\int \frac {f g (5 e f-d g) b^2-4 e f \left (c f^2+3 a g^2\right ) b+4 a g \left (2 a e g^2+c f (e f+d g)\right )-\left (8 c^2 e f^3+b g^2 (3 b e f+b d g-4 a e g)-4 c g \left (3 b e f^2-a g (3 e f-d g)\right )\right ) x}{(f+g x) \sqrt {c x^2+b x+a}}dx}{8 g^2}+\frac {\sqrt {a+b x+c x^2} \left (-g (-4 a e g-b d g+5 b e f)-2 c g x (e f-d g)+4 c e f^2\right )}{4 g^2}}{e (e f-d g)}\)

\(\Big \downarrow \) 1269

\(\displaystyle \frac {\left (a e^2-b d e+c d^2\right ) \left (\frac {\sqrt {a+b x+c x^2}}{e}-\frac {\frac {(2 c d-b e) \int \frac {1}{\sqrt {c x^2+b x+a}}dx}{e}-\frac {2 \left (a e^2-b d e+c d^2\right ) \int \frac {1}{(d+e x) \sqrt {c x^2+b x+a}}dx}{e}}{2 e}\right )}{e (e f-d g)}-\frac {\frac {\frac {8 e \left (a g^2-b f g+c f^2\right )^2 \int \frac {1}{(f+g x) \sqrt {c x^2+b x+a}}dx}{g}-\frac {\left (-4 c g \left (3 b e f^2-a g (3 e f-d g)\right )+b g^2 (-4 a e g+b d g+3 b e f)+8 c^2 e f^3\right ) \int \frac {1}{\sqrt {c x^2+b x+a}}dx}{g}}{8 g^2}+\frac {\sqrt {a+b x+c x^2} \left (-g (-4 a e g-b d g+5 b e f)-2 c g x (e f-d g)+4 c e f^2\right )}{4 g^2}}{e (e f-d g)}\)

\(\Big \downarrow \) 1092

\(\displaystyle \frac {\left (a e^2-b d e+c d^2\right ) \left (\frac {\sqrt {a+b x+c x^2}}{e}-\frac {\frac {2 (2 c d-b e) \int \frac {1}{4 c-\frac {(b+2 c x)^2}{c x^2+b x+a}}d\frac {b+2 c x}{\sqrt {c x^2+b x+a}}}{e}-\frac {2 \left (a e^2-b d e+c d^2\right ) \int \frac {1}{(d+e x) \sqrt {c x^2+b x+a}}dx}{e}}{2 e}\right )}{e (e f-d g)}-\frac {\frac {\frac {8 e \left (a g^2-b f g+c f^2\right )^2 \int \frac {1}{(f+g x) \sqrt {c x^2+b x+a}}dx}{g}-\frac {2 \left (-4 c g \left (3 b e f^2-a g (3 e f-d g)\right )+b g^2 (-4 a e g+b d g+3 b e f)+8 c^2 e f^3\right ) \int \frac {1}{4 c-\frac {(b+2 c x)^2}{c x^2+b x+a}}d\frac {b+2 c x}{\sqrt {c x^2+b x+a}}}{g}}{8 g^2}+\frac {\sqrt {a+b x+c x^2} \left (-g (-4 a e g-b d g+5 b e f)-2 c g x (e f-d g)+4 c e f^2\right )}{4 g^2}}{e (e f-d g)}\)

\(\Big \downarrow \) 219

\(\displaystyle \frac {\left (a e^2-b d e+c d^2\right ) \left (\frac {\sqrt {a+b x+c x^2}}{e}-\frac {\frac {(2 c d-b e) \text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{\sqrt {c} e}-\frac {2 \left (a e^2-b d e+c d^2\right ) \int \frac {1}{(d+e x) \sqrt {c x^2+b x+a}}dx}{e}}{2 e}\right )}{e (e f-d g)}-\frac {\frac {\frac {8 e \left (a g^2-b f g+c f^2\right )^2 \int \frac {1}{(f+g x) \sqrt {c x^2+b x+a}}dx}{g}-\frac {\text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right ) \left (-4 c g \left (3 b e f^2-a g (3 e f-d g)\right )+b g^2 (-4 a e g+b d g+3 b e f)+8 c^2 e f^3\right )}{\sqrt {c} g}}{8 g^2}+\frac {\sqrt {a+b x+c x^2} \left (-g (-4 a e g-b d g+5 b e f)-2 c g x (e f-d g)+4 c e f^2\right )}{4 g^2}}{e (e f-d g)}\)

\(\Big \downarrow \) 1154

\(\displaystyle \frac {\left (a e^2-b d e+c d^2\right ) \left (\frac {\sqrt {a+b x+c x^2}}{e}-\frac {\frac {4 \left (a e^2-b d e+c d^2\right ) \int \frac {1}{4 \left (c d^2-b e d+a e^2\right )-\frac {(b d-2 a e+(2 c d-b e) x)^2}{c x^2+b x+a}}d\left (-\frac {b d-2 a e+(2 c d-b e) x}{\sqrt {c x^2+b x+a}}\right )}{e}+\frac {(2 c d-b e) \text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{\sqrt {c} e}}{2 e}\right )}{e (e f-d g)}-\frac {\frac {-\frac {16 e \left (a g^2-b f g+c f^2\right )^2 \int \frac {1}{4 \left (c f^2-b g f+a g^2\right )-\frac {(b f-2 a g+(2 c f-b g) x)^2}{c x^2+b x+a}}d\left (-\frac {b f-2 a g+(2 c f-b g) x}{\sqrt {c x^2+b x+a}}\right )}{g}-\frac {\text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right ) \left (-4 c g \left (3 b e f^2-a g (3 e f-d g)\right )+b g^2 (-4 a e g+b d g+3 b e f)+8 c^2 e f^3\right )}{\sqrt {c} g}}{8 g^2}+\frac {\sqrt {a+b x+c x^2} \left (-g (-4 a e g-b d g+5 b e f)-2 c g x (e f-d g)+4 c e f^2\right )}{4 g^2}}{e (e f-d g)}\)

\(\Big \downarrow \) 219

\(\displaystyle \frac {\left (a e^2-b d e+c d^2\right ) \left (\frac {\sqrt {a+b x+c x^2}}{e}-\frac {\frac {(2 c d-b e) \text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{\sqrt {c} e}-\frac {2 \sqrt {a e^2-b d e+c d^2} \text {arctanh}\left (\frac {-2 a e+x (2 c d-b e)+b d}{2 \sqrt {a+b x+c x^2} \sqrt {a e^2-b d e+c d^2}}\right )}{e}}{2 e}\right )}{e (e f-d g)}-\frac {\frac {\frac {8 e \left (a g^2-b f g+c f^2\right )^{3/2} \text {arctanh}\left (\frac {-2 a g+x (2 c f-b g)+b f}{2 \sqrt {a+b x+c x^2} \sqrt {a g^2-b f g+c f^2}}\right )}{g}-\frac {\text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right ) \left (-4 c g \left (3 b e f^2-a g (3 e f-d g)\right )+b g^2 (-4 a e g+b d g+3 b e f)+8 c^2 e f^3\right )}{\sqrt {c} g}}{8 g^2}+\frac {\sqrt {a+b x+c x^2} \left (-g (-4 a e g-b d g+5 b e f)-2 c g x (e f-d g)+4 c e f^2\right )}{4 g^2}}{e (e f-d g)}\)

input
Int[(a + b*x + c*x^2)^(3/2)/((d + e*x)*(f + g*x)),x]
 
output
((c*d^2 - b*d*e + a*e^2)*(Sqrt[a + b*x + c*x^2]/e - (((2*c*d - b*e)*ArcTan 
h[(b + 2*c*x)/(2*Sqrt[c]*Sqrt[a + b*x + c*x^2])])/(Sqrt[c]*e) - (2*Sqrt[c* 
d^2 - b*d*e + a*e^2]*ArcTanh[(b*d - 2*a*e + (2*c*d - b*e)*x)/(2*Sqrt[c*d^2 
 - b*d*e + a*e^2]*Sqrt[a + b*x + c*x^2])])/e)/(2*e)))/(e*(e*f - d*g)) - (( 
(4*c*e*f^2 - g*(5*b*e*f - b*d*g - 4*a*e*g) - 2*c*g*(e*f - d*g)*x)*Sqrt[a + 
 b*x + c*x^2])/(4*g^2) + (-(((8*c^2*e*f^3 + b*g^2*(3*b*e*f + b*d*g - 4*a*e 
*g) - 4*c*g*(3*b*e*f^2 - a*g*(3*e*f - d*g)))*ArcTanh[(b + 2*c*x)/(2*Sqrt[c 
]*Sqrt[a + b*x + c*x^2])])/(Sqrt[c]*g)) + (8*e*(c*f^2 - b*f*g + a*g^2)^(3/ 
2)*ArcTanh[(b*f - 2*a*g + (2*c*f - b*g)*x)/(2*Sqrt[c*f^2 - b*f*g + a*g^2]* 
Sqrt[a + b*x + c*x^2])])/g)/(8*g^2))/(e*(e*f - d*g))
 

3.9.66.3.1 Defintions of rubi rules used

rule 27
Int[(a_)*(Fx_), x_Symbol] :> Simp[a   Int[Fx, x], x] /; FreeQ[a, x] &&  !Ma 
tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
 

rule 219
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* 
ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt 
Q[a, 0] || LtQ[b, 0])
 

rule 1092
Int[1/Sqrt[(a_) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Simp[2   Subst[I 
nt[1/(4*c - x^2), x], x, (b + 2*c*x)/Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a 
, b, c}, x]
 

rule 1154
Int[1/(((d_.) + (e_.)*(x_))*Sqrt[(a_.) + (b_.)*(x_) + (c_.)*(x_)^2]), x_Sym 
bol] :> Simp[-2   Subst[Int[1/(4*c*d^2 - 4*b*d*e + 4*a*e^2 - x^2), x], x, ( 
2*a*e - b*d - (2*c*d - b*e)*x)/Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a, b, c 
, d, e}, x]
 

rule 1162
Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_S 
ymbol] :> Simp[(d + e*x)^(m + 1)*((a + b*x + c*x^2)^p/(e*(m + 2*p + 1))), x 
] - Simp[p/(e*(m + 2*p + 1))   Int[(d + e*x)^m*Simp[b*d - 2*a*e + (2*c*d - 
b*e)*x, x]*(a + b*x + c*x^2)^(p - 1), x], x] /; FreeQ[{a, b, c, d, e, m}, x 
] && GtQ[p, 0] && NeQ[m + 2*p + 1, 0] && ( !RationalQ[m] || LtQ[m, 1]) && 
!ILtQ[m + 2*p, 0] && IntQuadraticQ[a, b, c, d, e, m, p, x]
 

rule 1231
Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c 
_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(d + e*x)^(m + 1)*(c*e*f*(m + 2*p + 2) 
 - g*(c*d + 2*c*d*p - b*e*p) + g*c*e*(m + 2*p + 1)*x)*((a + b*x + c*x^2)^p/ 
(c*e^2*(m + 2*p + 1)*(m + 2*p + 2))), x] - Simp[p/(c*e^2*(m + 2*p + 1)*(m + 
 2*p + 2))   Int[(d + e*x)^m*(a + b*x + c*x^2)^(p - 1)*Simp[c*e*f*(b*d - 2* 
a*e)*(m + 2*p + 2) + g*(a*e*(b*e - 2*c*d*m + b*e*m) + b*d*(b*e*p - c*d - 2* 
c*d*p)) + (c*e*f*(2*c*d - b*e)*(m + 2*p + 2) + g*(b^2*e^2*(p + m + 1) - 2*c 
^2*d^2*(1 + 2*p) - c*e*(b*d*(m - 2*p) + 2*a*e*(m + 2*p + 1))))*x, x], x], x 
] /; FreeQ[{a, b, c, d, e, f, g, m}, x] && GtQ[p, 0] && (IntegerQ[p] ||  !R 
ationalQ[m] || (GeQ[m, -1] && LtQ[m, 0])) &&  !ILtQ[m + 2*p, 0] && (Integer 
Q[m] || IntegerQ[p] || IntegersQ[2*m, 2*p])
 

rule 1269
Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c 
_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[g/e   Int[(d + e*x)^(m + 1)*(a + b*x + 
 c*x^2)^p, x], x] + Simp[(e*f - d*g)/e   Int[(d + e*x)^m*(a + b*x + c*x^2)^ 
p, x], x] /; FreeQ[{a, b, c, d, e, f, g, m, p}, x] &&  !IGtQ[m, 0]
 

rule 1270
Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_)/(((d_.) + (e_.)*(x_))*((f_.) + 
 (g_.)*(x_))), x_Symbol] :> Simp[(c*d^2 - b*d*e + a*e^2)/(e*(e*f - d*g)) 
Int[(a + b*x + c*x^2)^(p - 1)/(d + e*x), x], x] - Simp[1/(e*(e*f - d*g)) 
Int[Simp[c*d*f - b*e*f + a*e*g - c*(e*f - d*g)*x, x]*((a + b*x + c*x^2)^(p 
- 1)/(f + g*x)), x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && FractionQ[p] 
&& GtQ[p, 0]
 
3.9.66.4 Maple [A] (verified)

Time = 0.82 (sec) , antiderivative size = 599, normalized size of antiderivative = 1.22

method result size
risch \(\frac {\left (2 c e g x +5 b e g -4 c d g -4 c e f \right ) \sqrt {c \,x^{2}+b x +a}}{4 e^{2} g^{2}}+\frac {\frac {\left (12 a c \,e^{2} g^{2}+3 b^{2} e^{2} g^{2}-12 b c d e \,g^{2}-12 b c \,e^{2} f g +8 c^{2} d^{2} g^{2}+8 c^{2} d e f g +8 c^{2} e^{2} f^{2}\right ) \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{e g \sqrt {c}}+\frac {8 g^{2} \left (a^{2} e^{4}-2 a b d \,e^{3}+2 a c \,d^{2} e^{2}+b^{2} d^{2} e^{2}-2 b c \,d^{3} e +c^{2} d^{4}\right ) \ln \left (\frac {\frac {2 e^{2} a -2 b d e +2 c \,d^{2}}{e^{2}}+\frac {\left (b e -2 c d \right ) \left (x +\frac {d}{e}\right )}{e}+2 \sqrt {\frac {e^{2} a -b d e +c \,d^{2}}{e^{2}}}\, \sqrt {\left (x +\frac {d}{e}\right )^{2} c +\frac {\left (b e -2 c d \right ) \left (x +\frac {d}{e}\right )}{e}+\frac {e^{2} a -b d e +c \,d^{2}}{e^{2}}}}{x +\frac {d}{e}}\right )}{e^{2} \left (d g -e f \right ) \sqrt {\frac {e^{2} a -b d e +c \,d^{2}}{e^{2}}}}-\frac {8 e^{2} \left (a^{2} g^{4}-2 a b f \,g^{3}+2 a c \,f^{2} g^{2}+b^{2} f^{2} g^{2}-2 b c \,f^{3} g +c^{2} f^{4}\right ) \ln \left (\frac {\frac {2 a \,g^{2}-2 b f g +2 c \,f^{2}}{g^{2}}+\frac {\left (b g -2 c f \right ) \left (x +\frac {f}{g}\right )}{g}+2 \sqrt {\frac {a \,g^{2}-b f g +c \,f^{2}}{g^{2}}}\, \sqrt {\left (x +\frac {f}{g}\right )^{2} c +\frac {\left (b g -2 c f \right ) \left (x +\frac {f}{g}\right )}{g}+\frac {a \,g^{2}-b f g +c \,f^{2}}{g^{2}}}}{x +\frac {f}{g}}\right )}{g^{2} \left (d g -e f \right ) \sqrt {\frac {a \,g^{2}-b f g +c \,f^{2}}{g^{2}}}}}{8 e^{2} g^{2}}\) \(599\)
default \(\text {Expression too large to display}\) \(1265\)

input
int((c*x^2+b*x+a)^(3/2)/(e*x+d)/(g*x+f),x,method=_RETURNVERBOSE)
 
output
1/4*(2*c*e*g*x+5*b*e*g-4*c*d*g-4*c*e*f)*(c*x^2+b*x+a)^(1/2)/e^2/g^2+1/8/e^ 
2/g^2*((12*a*c*e^2*g^2+3*b^2*e^2*g^2-12*b*c*d*e*g^2-12*b*c*e^2*f*g+8*c^2*d 
^2*g^2+8*c^2*d*e*f*g+8*c^2*e^2*f^2)/e/g*ln((1/2*b+c*x)/c^(1/2)+(c*x^2+b*x+ 
a)^(1/2))/c^(1/2)+8/e^2*g^2*(a^2*e^4-2*a*b*d*e^3+2*a*c*d^2*e^2+b^2*d^2*e^2 
-2*b*c*d^3*e+c^2*d^4)/(d*g-e*f)/((a*e^2-b*d*e+c*d^2)/e^2)^(1/2)*ln((2*(a*e 
^2-b*d*e+c*d^2)/e^2+(b*e-2*c*d)/e*(x+d/e)+2*((a*e^2-b*d*e+c*d^2)/e^2)^(1/2 
)*((x+d/e)^2*c+(b*e-2*c*d)/e*(x+d/e)+(a*e^2-b*d*e+c*d^2)/e^2)^(1/2))/(x+d/ 
e))-8*e^2/g^2*(a^2*g^4-2*a*b*f*g^3+2*a*c*f^2*g^2+b^2*f^2*g^2-2*b*c*f^3*g+c 
^2*f^4)/(d*g-e*f)/((a*g^2-b*f*g+c*f^2)/g^2)^(1/2)*ln((2*(a*g^2-b*f*g+c*f^2 
)/g^2+(b*g-2*c*f)/g*(x+f/g)+2*((a*g^2-b*f*g+c*f^2)/g^2)^(1/2)*((x+f/g)^2*c 
+(b*g-2*c*f)/g*(x+f/g)+(a*g^2-b*f*g+c*f^2)/g^2)^(1/2))/(x+f/g)))
 
3.9.66.5 Fricas [F(-1)]

Timed out. \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(d+e x) (f+g x)} \, dx=\text {Timed out} \]

input
integrate((c*x^2+b*x+a)^(3/2)/(e*x+d)/(g*x+f),x, algorithm="fricas")
 
output
Timed out
 
3.9.66.6 Sympy [F]

\[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(d+e x) (f+g x)} \, dx=\int \frac {\left (a + b x + c x^{2}\right )^{\frac {3}{2}}}{\left (d + e x\right ) \left (f + g x\right )}\, dx \]

input
integrate((c*x**2+b*x+a)**(3/2)/(e*x+d)/(g*x+f),x)
 
output
Integral((a + b*x + c*x**2)**(3/2)/((d + e*x)*(f + g*x)), x)
 
3.9.66.7 Maxima [F(-2)]

Exception generated. \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(d+e x) (f+g x)} \, dx=\text {Exception raised: ValueError} \]

input
integrate((c*x^2+b*x+a)^(3/2)/(e*x+d)/(g*x+f),x, algorithm="maxima")
 
output
Exception raised: ValueError >> Computation failed since Maxima requested 
additional constraints; using the 'assume' command before evaluation *may* 
 help (example of legal syntax is 'assume(d*g-e*f>0)', see `assume?` for m 
ore detail
 
3.9.66.8 Giac [F(-2)]

Exception generated. \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(d+e x) (f+g x)} \, dx=\text {Exception raised: TypeError} \]

input
integrate((c*x^2+b*x+a)^(3/2)/(e*x+d)/(g*x+f),x, algorithm="giac")
 
output
Exception raised: TypeError >> an error occurred running a Giac command:IN 
PUT:sage2:=int(sage0,sageVARx):;OUTPUT:sym2poly/r2sym(const gen & e,const 
index_m & i,const vecteur & l) Error: Bad Argument Value
 
3.9.66.9 Mupad [F(-1)]

Timed out. \[ \int \frac {\left (a+b x+c x^2\right )^{3/2}}{(d+e x) (f+g x)} \, dx=\int \frac {{\left (c\,x^2+b\,x+a\right )}^{3/2}}{\left (f+g\,x\right )\,\left (d+e\,x\right )} \,d x \]

input
int((a + b*x + c*x^2)^(3/2)/((f + g*x)*(d + e*x)),x)
 
output
int((a + b*x + c*x^2)^(3/2)/((f + g*x)*(d + e*x)), x)